from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep
from options import options

driver = webdriver.Chrome(options=options)
driver.get(r'https://www.baidu.com/')
sleep(1)
# 第一种注释掉验证码代码
# 第二种万能码
# 使用cookie
for i in driver.get_cookies():
    print(i['name'],end='\t')
    print(i['value'])

